<template>
	<view class="settlement">
		<result-page :type="2" :title="'退货成功'"
		:btnText="'查看订单'" @goPage="viewOrder"></result-page>
		<!-- :amount="realAmount" -->
		<tui-modal></tui-modal>
	</view>
</template>
<script>
	import resultPage from '@/components/resultPage/resultPage.vue';
export default {
	components: {
		resultPage,
	},
	data() {
		return {
			orderCode:'',
			realAmount:'',
		};
	},
	onLoad(options) {
		// #ifdef H5
		   this.$wechat.noShare();
		// #endif
		this.orderCode=options.orderCode;
		// this.realAmount=options.realAmount;
	},
	methods: {
		viewOrder(){
			uni.redirectTo({
				url: `/packageC/pages/storeOrder/orderDetail?orderCode=${this.orderCode}`
			});
		},
		
	}
};
</script>

<style lang="scss">
</style>
